<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <label>请输入你的licenseKey</label>
    <input id="license_key_input" type="text" placeholder="请输入你的licenseKey">
    <button type="button" id="ok">确认</button>
    <script type="text/javascript">

        const ok = document.querySelector("#ok");

        ok.addEventListener('click', () => {
            let input = document.querySelector('#license_key_input');
            let licenseKey = input.text;
        })
    </script>
</body>
</html>